/**
 * author      : dormi330
 * date        : 2018/7/6
 * project     : mybatis
 * description : TODO
 */

package com.deep.trade.order;

import com.deep.trade.BaseDto;

public class ParcelItem extends BaseDto {
    private String tradeOrderSkuId;     // 该包裹对应的 sku快照
    private int quantity;               // 包裹中该skuId的数量

    public ParcelItem(String tradeOrderSkuId, int quantity) {
        this.tradeOrderSkuId = tradeOrderSkuId;
        this.quantity = quantity;
    }

    public ParcelItem() {
    }

    //  === setter / getter ===
    public String getTradeOrderSkuId() {
        return tradeOrderSkuId;
    }

    public void setTradeOrderSkuId(String tradeOrderSkuId) {
        this.tradeOrderSkuId = tradeOrderSkuId;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}
